﻿<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
        <meta name="description" content="Proyecto práctico para la asignatura Proyectos 11/12"/>
        <meta name="author" content="Francisco Gámez, Luis Ortiz, Antonio Conejero, Ivan Bautista"/>

        <title>LAPI: Reserva de Pistas</title>

        <!-- Le styles -->        
        @*@CssLoad("assets/css/estiloLAPI.css")*@
        @CssLoad("assets/css/bootstrap.css")
        @CssLoad("assets/css/bootstrap-responsive.css")
        @*@CssLoad("assets/css/docs.css")*@
        @CssLoad("assets/css/prettify.css")
        @CssLoad("assets/css/timepicker.css")
        @CssLoad("assets/css/colorpicker.css")
        @CssLoad("assets/css/datepicker.css")
        @CssLoad("assets/css/bootstrap-calendar.css")
        @*@CssLoad("assets/css/pygments.css")*@

        <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
        <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->

        <!-- Le fav and touch icons -->
        <link rel="shortcut icon" href="@Url.Content("~/assets/ico/favicon.ico")">
        <link rel="apple-touch-icon-precomposed" sizes="114x114" href="@Url.Content("~/assets/ico/apple-touch-icon-114-precomposed.png")">
        <link rel="apple-touch-icon-precomposed" sizes="72x72" href="@Url.Content("~/assets/ico/apple-touch-icon-72-precomposed.png")">
        <link rel="apple-touch-icon-precomposed" href="@Url.Content("~/assets/ico/apple-touch-icon-57-precomposed.png")">
    </head>

    <body onload="prettyPrint()" data-target=".subnav" data-spy="scroll" data-twttr-rendered="true">

        <!-- Le navbar -->
        <header>
            @Html.Partial("_PartialNav")
        </header>
        <!-- fin Le navbar -->
   
        <!-- Le body -->
        <section class="container">
        <br /><br /><br />        
            @RenderBody()
        </section>
        <!-- fin Le body -->

        <!-- Le footer -->
        <footer class="footer">
        <br /><br /><br />        
            <p>Aplicación Web desarrollada para la práctica de la asignatura Proyectos de ITT Telemática de la EPS Linares sin ánimo de lucro.</p>
        </footer>
        <!-- fin Le footer -->

        <!-- Le javascript -->                
        @ScriptLoad("assets/js/jquery-min.js")
        @ScriptLoad("assets/js/widgets.js")
        @ScriptLoad("assets/js/bootstrap.min.js")             
        @*@ScriptLoad("assets/js/bootstrap-transition.js")
        @ScriptLoad("assets/js/bootstrap-alert.js")
        @ScriptLoad("assets/js/bootstrap-modal.js")
        @ScriptLoad("assets/js/bootstrap-dropdown.js")
        @ScriptLoad("assets/js/bootstrap-scrollspy.js")
        @ScriptLoad("assets/js/bootstrap-tab.js")
        @ScriptLoad("assets/js/bootstrap-tooltip.js")
        @ScriptLoad("assets/js/bootstrap-popover.js")
        @ScriptLoad("assets/js/bootstrap-button.js")
        @ScriptLoad("assets/js/bootstrap-collapse.js")
        @ScriptLoad("assets/js/bootstrap-carousel.js")
        @ScriptLoad("assets/js/bootstrap-typeahead.js")*@
        @ScriptLoad("assets/js/bootstrap-timePicker.js")
        @ScriptLoad("assets/js/prettify.js")           
        @ScriptLoad("assets/js/bootstrap-colorpicker.js")
        @ScriptLoad("assets/js/bootstrap-datepicker.js")
        @ScriptLoad("assets/js/bootstrap-calendar.js")
        @ScriptLoad("assets/js/application.js")        
        @ScriptLoad("assets/script/AjaxHelper.js")
        @ScriptLoad("assets/script/Nav.js")
        @ScriptLoad("scripts/jquery.unobtrusive-ajax.js")        

        <div id="script">
            @RenderSection(name: "Script", required: false)
        </div>
        <div id="hidden">
            @RenderSection(name: "Hidden", required: false)

            <div class="modal hide fade" id="confirm">
            <div class="modal-header">
                <button class="close" data-dismiss="modal">x</button>
                <h3 id="TituloConfirmacion"></h3>
            </div>
            <div class="modal-body">
                <p id="BodyConfirmacion"></p>
            </div>
            <div class="modal-footer">
                <a href="#" class="btn btn-success" id="BotonConfirmacion">Si</a>
                <a href="#" class="btn btn-primary" onclick="cancelDialog();">No</a>            
            </div>
        </div>  
        </div>
        <!-- fin Le javascript -->        
    </body>
</html>


@helper ScriptLoad(String uriScript)
    {
    if (uriScript.StartsWith("http"))
    {
        <script type="text/javascript" src="@Url.Content(uriScript)"></script>
    }
    else
    {
        <script type="text/javascript" src="@Url.Content("~/" + uriScript)"></script>    
    }
}
@helper CssLoad(String uriCss)
    {
    <link href="@Url.Content("~/" + uriCss)" rel="stylesheet"/>
}